package com.sfd.message.remind.controller;

import com.sfd.message.remind.model.dto.CreateUserRemindDTO;
import com.sfd.message.remind.module.Result;
import com.sfd.message.remind.service.UserRemindService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 用户提醒
 *
 * @author haden
 * @date 2022/9/14 16:19
 **/
@RestController
@RequestMapping("/userRemind")
public class UserRemindController {
    @Resource
    private UserRemindService userRemindService;

    /**
     * 新增提醒
     */
    @PostMapping("/createRemind")
    public Result<String> createRemind(CreateUserRemindDTO dto) {
        return userRemindService.createRemind(dto);
    }

    //修改提醒

    //删除提醒

    //查看提醒-分页
}
